package com.yxw.live_vod_boot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 直播商品库存相关DTO
 * @author xiexuxin
 * @date 2023-12-14
 */
@Data
@ApiModel(value = "LiveProductStockDTO", description = "直播商品库存相关DTO")
public class LiveProductStockDTO {

    @NotNull(message = "直播id不能为空")
    @ApiModelProperty("直播ID")
    private String liveId;

    @NotNull(message = "直播商品id不能为空")
    @ApiModelProperty("直播商品ID")
    private Long activityProductId;

    @NotNull(message = "商品数量不能为空")
    @ApiModelProperty("商品数量")
    private Integer productQuantity;
}
